home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / program / 70 / docs / appendix.2 < prev    next >
Text File  |  1987-12-25  |  7KB  |  199 lines

  1.  
  2.  
  3.  
  4.      s✓s✓s✓st✓t✓t✓t(✓(✓(✓(1✓1✓1✓1)✓)✓)✓)                        (✓(✓(✓(l✓l✓l✓lo✓o✓o✓oc✓c✓c✓ca✓a✓a✓al✓l✓l✓l)✓)✓)✓)                        s✓s✓s✓st✓t✓t✓t(✓(✓(✓(1✓1✓1✓1)✓)✓)✓)
  5.  
  6.  
  7.  
  8.      N✓N✓N✓NA✓A✓A✓AM✓M✓M✓ME✓E✓E✓E
  9.           st - a Little Smalltalk
  10.  
  11.      S✓S✓S✓SY✓Y✓Y✓YN✓N✓N✓NO✓O✓O✓OP✓P✓P✓PS✓S✓S✓SI✓I✓I✓IS✓S✓S✓S
  12.           st [options] [files]
  13.  
  14.      D✓D✓D✓DE✓E✓E✓ES✓S✓S✓SC✓C✓C✓CR✓R✓R✓RI✓I✓I✓IP✓P✓P✓PT✓T✓T✓TI✓I✓I✓IO✓O✓O✓ON✓N✓N✓N
  15.           s✓s✓s✓st✓t✓t✓t is an interpreter for a Smalltalk-like language.  For a
  16.           complete description of the language accepted by the
  17.           interpreter see the user manual.  Options accepted by the
  18.           command are as follows:
  19.  
  20.           -a   If the -a option is given statistics on the number of
  21.                memory allocations will be displayed following
  22.                execution.
  23.  
  24.           -d_✓d_✓i_✓g_✓i_✓t
  25.                If the _✓d_✓i_✓g_✓i_✓t is zero only those results explicitly
  26.                requested by the user will be printed.  If 1, the
  27.                values of expressions typed at the keyboard will be
  28.                displayed (this is the default). If 2, the values of
  29.                expressions and the values assigned in assignment
  30.                statements will be displayed.
  31.  
  32.           -f   The -f option indicates fast loading should be used,
  33.                which loads a binary save image (see ``)s'' below) for
  34.                the standard library.
  35.  
  36.           -g   The next argument is taken to be the name of an
  37.                additional library stored in the system library area.
  38.                The library is loaded following the standard prelude,
  39.                just as if a ``)g'' directive were given at the
  40.                beginning of execution (see below).
  41.  
  42.           -l   The next argument is taken to be the name of a file
  43.                containing a binary image saved using the )s directive
  44.                (see below).  This binary image is loaded prior to
  45.                execution.
  46.  
  47.           -m   Do not perform fast loading.  (Used when fastloading is
  48.                the default).
  49.  
  50.           -n   The -n option, if given, suppresses the loading of the
  51.                standard library. As this gives you a system with
  52.                almost no functionality, it is seldom useful except
  53.                during debugging.
  54.  
  55.           -r   The next argument is taken to be the name of a file of
  56.                Smalltalk commands.  The file is included prior to
  57.                execution, just as if a ``)r'' directive were given at
  58.                the beginning of execution (see below).
  59.  
  60.  
  61.  
  62.  
  63.      Hewlett-Packard               - 1 -             (printed 9/19/86)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      s✓s✓s✓st✓t✓t✓t(✓(✓(✓(1✓1✓1✓1)✓)✓)✓)                        (✓(✓(✓(l✓l✓l✓lo✓o✓o✓oc✓c✓c✓ca✓a✓a✓al✓l✓l✓l)✓)✓)✓)                        s✓s✓s✓st✓t✓t✓t(✓(✓(✓(1✓1✓1✓1)✓)✓)✓)
  71.  
  72.  
  73.  
  74.           -s   In normal operation, at the end of execution the number
  75.                of reference count increments and decrements is printed
  76.                just prior to exit.  In the absence of cycles these two
  77.                figures should be equal.  Since cycles can cause large
  78.                chunks of memory to become unreachable, and seriously
  79.                degrade performance, this information is often useful
  80.                in debugging.  The -s option, if given, suppresses the
  81.                printing of this information.
  82.  
  83.           The files, if given, must contain class descriptions.
  84.           Consult the reference manual for the syntax for class
  85.           descriptions.  The classes defined are included along with
  86.           the standard library of classes before execution begins.
  87.  
  88.           Once execution begins, the cursor will tab over 8 spaces to
  89.           indicate that a command can be entered.  A command consists
  90.           of a valid Smalltalk expression, without a terminating
  91.           period.  As each expression is entered it is executed by the
  92.           Little Smalltalk interpreter, and the results displayed.
  93.  
  94.           The following system directives can be entered in place of
  95.           commands:
  96.  
  97.           )e filename
  98.                Edit the named file, which must contain only class
  99.                descriptions.  The Little Smalltalk system will
  100.                suspend, leaving the user in an editor for making
  101.                changes to the named file.  Upon exiting the editor,
  102.                the named file will automatically be included, as with
  103.                the )i directive (below).  The editor chosen by this
  104.                command is taken from the variable EDITOR in the user's
  105.                environment.
  106.  
  107.           )g filename
  108.                Search for a file with the given name in the system
  109.                library area.  If found, load the library in with the
  110.                users classes.  This is useful for creating libraries
  111.                of commonly used classes which are not part of the
  112.                standard prelude, such as classes for statistics
  113.                applications or for graphics.
  114.  
  115.           )i filename
  116.                Include the named file.  The File must contain one or
  117.                more class descriptions.  The class descriptions are
  118.                parsed, and if syntactically legal new instances of
  119.                class C✓C✓C✓Cl✓l✓l✓la✓a✓a✓as✓s✓s✓ss✓s✓s✓s are added to the Smalltalk system.
  120.  
  121.           )l filename
  122.                Load a saved binary environment.  The file must have
  123.                been previously created using the )s directive (below).
  124.                The values of all variables are overridden.
  125.  
  126.  
  127.  
  128.  
  129.      Hewlett-Packard               - 2 -             (printed 9/19/86)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      s✓s✓s✓st✓t✓t✓t(✓(✓(✓(1✓1✓1✓1)✓)✓)✓)                        (✓(✓(✓(l✓l✓l✓lo✓o✓o✓oc✓c✓c✓ca✓a✓a✓al✓l✓l✓l)✓)✓)✓)                        s✓s✓s✓st✓t✓t✓t(✓(✓(✓(1✓1✓1✓1)✓)✓)✓)
  137.  
  138.  
  139.  
  140.           )r filename
  141.                Read the named file.  The effect is just as if the
  142.                lines in the file had been typed at the keyboard.  The
  143.                file cannot contain class descriptions.
  144.  
  145.           )s filename
  146.                Save the current environment in the named file.  The
  147.                values of all variables will be saved, and can later be
  148.                restored using the )l directive (above).
  149.  
  150.           )!string
  151.                Execute the string following the exclamation point as a
  152.                Unix command.
  153.  
  154.      A✓A✓A✓Au✓u✓u✓ut✓t✓t✓th✓h✓h✓ho✓o✓o✓or✓r✓r✓r
  155.           Tim Budd, Department of Computer Science, The University of
  156.           Arizona.
  157.  
  158.      S✓S✓S✓Se✓e✓e✓ee✓e✓e✓e A✓A✓A✓Al✓l✓l✓ls✓s✓s✓so✓o✓o✓o
  159.           Timothy A. Budd, _✓A _✓L_✓i_✓t_✓t_✓l_✓e _✓S_✓m_✓a_✓l_✓l_✓t_✓a_✓l_✓k _✓U_✓s_✓e_✓r_✓s _✓M_✓a_✓n_✓u_✓a_✓l.
  160.  
  161.      B✓B✓B✓Bu✓u✓u✓ug✓g✓g✓gs✓s✓s✓s
  162.           Not all the Smalltalk-80 Language described in the Blue Book
  163.           is supported; see the user manual for details.  (Smalltalk-
  164.           80 is a trademark of Xerox Corporation).
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.      Hewlett-Packard               - 3 -             (printed 9/19/86)
  196.  
  197.  
  198.  
  199.